package com.itheima.service;

import com.itheima.pojo.Permission;
import com.itheima.pojo.Role;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll(Integer id);

    Role findById(Integer id);

    Integer[] findPermissionIdsByRoleId(Integer id);

    void edit(Role role, Integer[] permissionIds);
}
